<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>登录、注册</title>
	<link rel="icon" href="<c:url value="/img/favicon.ico"/>"/>
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/base.css"/>" />
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/passport.login.css"/>" />
	<script type="text/javascript" src="<c:url value="/js/jquery-1.2.6.js"/>"></script>
</head>
<body>
	<script src="<c:url value="/js/base-v1.js"/>" type="text/javascript"></script>
	<jsp:include page="/jsp/shortcut.jsp" />

	<jsp:include page="/jsp/header.jsp" />
	
	<div class="w">
		<div id="main" class="m">
			<div class="mc login-wrap">
				<form id="formlogin" method="post" onsubmit="return false;">
					<div id="login" class="fl">
						<div class="mt">
                           <h2>登录</h2>
						</div>
						<div class="form">
 							<div class="item">
								<span class="label">账号：</span>
								<div class="fl">
									<div class="i-textbox">
										<span>
											<input type="text"  class="s-textbox" id="loginname" name="loginname" value="" tabindex="1"/>
										</span>
									</div>
									<label id="loginname_succeed" class="blank invisible"></label>
									<span class="clr"></span>
                                <!--   <label id="loginname_error"></label>    -->
								</div>
							</div>
                            <div id="loginname_error" class="error"></div>
                            <div class="item">
                                <span class="label">密码：</span>
                                <div class="fl">
                                    <div class="i-textbox">
                                    	<span>
                                    		<input type="password" value="" class="s-textbox" id="loginpwd" name="loginpwd" tabindex="2"/>
                                    	</span>
                                    </div>
                                    <label id="loginpwd_succeed" class="blank invisible"></label>
                                    <span class="clr"></span>
                                   	<!-- <label id="loginpwd_error"></label> -->     
                                </div>
                            </div>
                            <div id="loginpwd_error" class="error"></div>
                            <div class="item ia">
                                <span class="label">&nbsp;</span>
                                <div class="fl">
                                   <a href="">忘记密码？</a>
                                </div>
                            </div>

                            <div class="item  hide " id="o-authcode">
                                <span class="label">验证码:</span>
                                <div class="fl">
                                    <input type="text" id="lauthcode" name="lauthcode" class="s-yzbox"  tabindex="3"/>
                                    <label class="img">
                                        <img style="cursor: pointer; width: 100px; height: 26px;" alt="" src="" onclick="" id="Verification1"/>
                                    </label>

                                    <label class="ftx23">&nbsp;&nbsp;
                                    	<a href="javascript:void(0)" onclick="verc1()" class="flk13">换一个</a>
                                    </label>
                                    <label id="lauthcode_succeed" class="blank invisible"></label>
                                    <span class="clr"></span>
                                    <span id="lauthcode_error"></span>
                                </div>
                            </div>

                            <div class="item btns">
                                <span class="label">&nbsp;</span>
                                <div class="fl">
                                	<input type="button" class="btn-1" value="登录" id="loginsubmit" />
                                </div>
                            </div>

                            <div id="confidence"></div>

                        </div>
                    </div>
				</form>
				<form id="formpersonal" method="post" onsubmit="return false;">
					<div id="register" class="fr">
						<div class="mt">
							<h2>注册一个新用户</h2>
						</div>
						<div class="form">
							<div class="item">
								<span class="label">邮箱:</span>
								<div class="fl">
									<div class="i-textbox">
										<span>
											<input type="text" value="" class="s-textbox" name="mail" id="mail" tabindex="4" />
										</span>
									</div>
									<label class="blank" id="mail_succeed"></label>
									<span class="clr"></span>
									<div id="mail_error"></div>
								</div>
							</div>
							
                            <div class="item">
                                <span class="label">用户名:</span>
                                <div class="fl">
                                    <div class="i-textbox">
                                    	<span>
                                    		<input type="text" value="" class="s-textbox" name="username" id="username" tabindex="5" />
                                    	</span>
                                    </div>
                                    <label class="blank" id="username_succeed"></label>
                                    <span class="clr"></span>
						            <div id="username_error" class="null"></div>
                                </div>
                            </div>
                           
							<div class="item">
								<span class="label">密码:</span>
								<div class="fl">
									<div class="i-textbox">
										<span><input type="password" value="" class="s-textbox"
											name="pwd" id="pwd" tabindex="6" /></span>
									</div>
									<label id="pwd_succeed" class="blank"></label>
									<span class="clr"></span>
									<label id="pwdstrength" class="hide">
									<span class="fl">安全性:</span><b></b></label>
									<div id="pwd_error" class="null"></div>
								</div>
							</div>
							<div class="item">
								<span class="label">确认密码:</span>
								<div class="fl">
									<div class="i-textbox">
										<span>
											<input type="password" value="" class="s-textbox" name="pwd2" id="pwd2" tabindex="7" />
										</span>
									</div>
									<label class="blank" id="pwd2_succeed"></label>
									<span class="clr"></span>
									<label id="pwd2_error"></label>
								</div>
							</div>
							
							<div class="item">
								<span class="label">验证码:</span>

								<div class="fl">
									<input type="text" id="authcode" style="margin-left: 4px; width: 60px" name="authcode" class="s-yzbox" tabindex="9" maxlength="4" />
									<label class="img">
										<img id="Verification" src="../user/getCaptcha.action" onclick="this.src='../user/getCaptcha.action?random=' + Math.random()"/>
									</label>
									<label class="ftx23">&nbsp;&nbsp;
										<a href="javascript:void(0)" onclick="verc2()" class="flk13">换一个</a>
									</label>
									<label id="authcode_succeed" class="blank"></label>
									<span class="clr"></span>
									<label id="authcode_error"></label>
								</div>
							</div>
							<div class="item ib">
								<span class="label">&nbsp;</span>
								<div class="fl">
									<input type="checkbox" class="checkbox" checked="checked" />
									<div class="tit">
										我已阅读并同意
										 <a href="">遥感商城服务条款</a>
									</div>
									<div class="clr"></div>

								</div>
							</div>
							<div class="item btns">
								<div class="label">&nbsp;</div>
								<div class="fl">
									<input type="button" class="btn-1" id="registsubmit" value="提交" />
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
		<!--@end div#main-->
	</div>
	<script type="text/javascript" src="<c:url value="/js/jdValidate.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/js/jdValidate.personal.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/js/jdValidate.entry.js"/>"></script>

	<jsp:include page="/jsp/bottom.jsp" />

	
	<script src="<c:url value="/js/lib-v1.js"/>" type="text/javascript"></script>
	
</body>
</html>


